Real-time orbit and attitude determination using low-cost GNSS receivers onboard a CubeSat