An N = 1 superfield action for M2 branes