Brazil court allows prosecution of US swimmer Ryan Lochte