Bunk bed and loft beds