Naked man caught in stable having sex with miniature pony, police say