What is the formula for converting polar coordinates to rectangular coordinates?