Maximum mass of neutron stars and strange neutron-star cores