A Self-Tuning Actor-Critic Algorithm