Biofuel production and phosphorus recovery through an integrated treatment of agro-industrial waste