The swimming pool is not just a place of pilgrimage for leading Olympians – it has also inspired some of the 20th century's most memorable art. Artist and novelist Leanne Shapton, herself a former competitive swimmer, chooses 10 of the greatest works of art based around the baths