If a,b and c are the sides of a triangle such that a4+b4+c4=2c2(a2+b2), then find the possible angles opposite to the side c.