Tuning electronic and optical properties of BlueP/MoSe2 van der Waals heterostructures by strain and external electric field