Precision Physical Activity Prescription via Reinforcement Learning for Functional Actions