1/2-BPS states in M theory and defects in the dual CFTs