The Diophantine equation aX4-bY2=1