Length dependence of the coil <--> beta-sheet transition in a membrane environment.