Population dynamics in ecological space and time