We know Miró's paintings for their joyful celebration of life and colour. But they also contain ideas of freedom which, in Franco's Spain, were very dear to the Catalan painter. We look again at the man, and trace his personal journey through six extraordinary paintings