Stellar mass-luminosity and mass-radius relations