Prospect Theory-inspired Automated P2P Energy Trading with Q-learning-based Dynamic Pricing