Sample-efficient representation and reinforcement learning in robotic manipulation