Effects on magnetic field in squeezing flow of a Casson fluid between parallel plates