A senior Russian general has been killed by a bomb hidden in a scooter outside his apartment building in Moscow.