First-principle study on the optical response of phosphorene