From classical ideals to disquieting bodies, Beard explores the contentious history of the nude in art