a frying pan can be used to cook in