Convert month names to integers