Japanese company invents ‘flood-resistant’ floating homes