What can I do here? A Theory of Affordances in RL