Energy-loss function for monolayer phosphorene