Five Russian engineers that were killed as they tested a rocket have been laid to rest with thousands attending their funerals.