Great Britain's Adam Peaty says the Tokyo 2020 Olympic Games would suffer from a lack of atmosphere if the coronavirus outbreak meant it had to take place behind closed doors.