A G-protein coupled receptor is involved in the regulation of sleep and metabolism