Oil giant BP warns of Q2 profit decline due to weak refining