Isoscalar monopole and dipole transitions in Mg24 , Mg26 , and Si28