The emergence of multiple retinal cell types through efficient coding of natural movies