The partition function modulo 12